<extend name="./Template/Layout/Layout.html" />
<block name="style">

</block>
<block name="body">
    <div class="J_mainContent" id="content-main" style="width:100%;">
      <div style="margin: 15px;">
          
          <form class="layui-form" style="padding-top: 15px;">

              <div class="layui-form-item">
                  <label class="layui-form-label w120">上级图层</label>
                  <div class="layui-input-block ml120">
                      <input type="text" disabled lay-verify="title" autocomplete="off" value="{$info.layername}" class="layui-input">
                      <input type="hidden" id="upid" value="{$info.id}">
                  </div>
              </div>

              <div class="layui-form-item">
                  <label class="layui-form-label w120">虚拟图层名称</label>
                  <div class="layui-input-block ml120">
                      <input type="text" id="layer" lay-verify="title" autocomplete="off" placeholder="请在此处填写虚拟图层名称" value="" class="layui-input">
                  </div>
              </div>

              <div class="layui-form-item">
                  <label class="layui-form-label w120">是否默认显示</label>
                  <div class="layui-input-block ml120">
                      <input type="text" id="defaultshow" lay-verify="title" autocomplete="off" placeholder="请填写：show 或 hide" value="{$info.defaultshow}" class="layui-input">
                  </div>
              </div>

              <div class="layui-form-item">
                  <div class="layui-input-block ml120">
                      <a href="javascript:void(0);" class="flysubmit layui-btn layui-btn-normal" >添加</a>
                      <a href="javascript:void(0);" class="flyback layui-btn layui-btn-primary">返回</a>
                  </div>
              </div>
          </form>

       </div>
    </div>
</block>
<block name="script">
    <script>
        var saveurl = "{:U('Home/Virtuallayer/addlayer')}";
        var hrefurl = "{:U('Home/Virtuallayer/listLayer')}";
    </script>
</block>
